package com.boot;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

//@org.springframework.stereotype.Controller
//@ResponseBody
@RestController
/**
 * Created by 幻 on 2022/4/1.
 */
public class Controller {

    @RequestMapping("/hello")
    public String handle01(){
        return "hello ,Spring Boot 2!";
    }
}
